package com.aipsi.cws.supplier.domain;

import com.aipsi.cws.common.util.DataUtil.DataTypeEnum;
import com.aipsi.cws.common.util.DataUtil.FiledInfo;
import com.aipsi.cws.common.util.DataUtil.IgnoreFiled;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.*;

@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class Account implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @IgnoreFiled
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 名字
     */
    @FiledInfo(StringLen = 2)
    private String name;

    /**
     * 会员等级
     */
    private String level;

    /**
     * 是否启用
     */
    private Boolean activeFlag;

    /**
     * 账号余额
     */
    @FiledInfo(intLen = DataTypeEnum.INT)
    private Integer balance;

    /**
     * 累计充值金额
     */
    private Integer totalAmount;

    /**
     * 老板个数
     */
    private Integer bossCount;

    /**
     * 员工个数
     */
    private Integer employeeCount;

    /**
     * 技术支持
     */
    private String supportLevel;

    /**
     * 开户日期
     */
    private LocalDateTime openData;

    /**
     * 销户日期
     */
    private LocalDateTime closeDate;

    /**
     * 备注
     */
    private String comment;


}
